package com.ly.enums;

public enum CodeEnum {

    ERRORCODE(101,1),
    SUCCCESSCODE(200,2);

    private int code;

    private int index;

    CodeEnum(int code, int index) {
        this.code = code;
        this.index = index;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
